package org.dromara.product.domain;

import org.dromara.common.tenant.core.TenantEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serial;

/**
 * 出库记录对象 ky_stock_out_records
 *
 * @author kuyu
 * @date 2023-12-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("ky_stock_out_records")
public class KyStockOutRecords extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 用户
     */
    private Long mid;

    /**
     * 出库编码
     */
    private String stockNo;

    /**
     * 仓库
     */
    private Long warehouseId;

    /**
     * 操作平台
     */
    private String platform;

    /**
     * 操作版本号
     */
    @Version
    private String version;

    /**
     * 出库类型id
     */
    private Integer outTypeId;

    /**
     * 客户id
     */
    private Integer customerId;

    /**
     * 图片
     */
    private String images;

    /**
     * 调拨关联入库表id
     */
    private Long transInId;

    /**
     * 0申请,1审核中,2完成,-1拒绝
     */
    private Integer status;

    /**
     * 审核等级
     */
    private Integer approveLevel;

    /**
     * 
     */
    private Long printNum;

    /**
     * 提交记录
     */
    private String recordInfo;

    /**
     * 
     */
    private String mark;

    /**
     * 
     */
    private Date deletedAt;

    /**
     * 
     */
    private String custom;

    /**
     * 
     */
    private Long transId;

    /**
     * 
     */
    private Long fromWarehouseId;

    /**
     * 
     */
    private Long fromZoneId;


}
